package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.po.Train;
import com.jiawa.train.business.req.TrainQueryReq;
import com.jiawa.train.business.req.TrainSaveReq;
import com.jiawa.train.business.resp.TrainQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.List;

/**
 * <p>
 * 车次 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-07
 */
public interface ITrainService extends IService<Train> {

    void save(TrainSaveReq trainSaveReq);

    PageResp<TrainQueryResp> queryList(TrainQueryReq req);

    void delete(Long id);

    List<TrainQueryResp> queryAll();

    List<Train> selectAll();
}
